$(function(){
    document.documentElement.style.overflow='hidden';
    userDetail();
});
function userDetail(){
   let uid = GetQueryString('uid');
   let ref = {uid:uid};
   let data = AjaxForm('admin/userdetail','get',ref);
   console.log(data);
   $('#phone').text(data.phone);
   $('#nickname').text(data.nickname);
   $('#headimg').attr('src',data.headimg);
   $('#invitation').text(data.invitation);
   $('#integral').text(data.integral);
   $('#pid').text(data.pid);
   $('#create_time').text(formatDateTime(data.create_time));
   $('#log_time').text(formatDateTime(data.log_time));
}
